<h1>Casas List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Ministerio</th>
      <th>Nombre</th>
      <th>Apaterno</th>
      <th>Amaterno</th>
      <th>Direccion</th>
      <th>Colonia</th>
      <th>Ciudad</th>
      <th>Cp</th>
      <th>Telcasa</th>
      <th>Telmovil</th>
      <th>Matrimonios</th>
      <th>Peques</th>
      <th>Jovenes</th>
      <th>Jovencitas</th>
      <th>Totalpersonas</th>
      <th>Coordenadas</th>
      <th>Alternos</th>
      <th>Observaciones</th>
      <th>Colchonetas</th>
      <th>Asignado</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($Casas as $Casa): ?>
    <tr>
      <td><a href="<?php echo url_for('casas/show?id='.$Casa->getId()) ?>"><?php echo $Casa->getId() ?></a></td>
      <td><?php echo $Casa->getMinisterio() ?></td>
      <td><?php echo $Casa->getNombre() ?></td>
      <td><?php echo $Casa->getApaterno() ?></td>
      <td><?php echo $Casa->getAmaterno() ?></td>
      <td><?php echo $Casa->getDireccion() ?></td>
      <td><?php echo $Casa->getColonia() ?></td>
      <td><?php echo $Casa->getCiudad() ?></td>
      <td><?php echo $Casa->getCp() ?></td>
      <td><?php echo $Casa->getTelcasa() ?></td>
      <td><?php echo $Casa->getTelmovil() ?></td>
      <td><?php echo $Casa->getMatrimonios() ?></td>
      <td><?php echo $Casa->getPeques() ?></td>
      <td><?php echo $Casa->getJovenes() ?></td>
      <td><?php echo $Casa->getJovencitas() ?></td>
      <td><?php echo $Casa->getTotalpersonas() ?></td>
      <td><?php echo $Casa->getCoordenadas() ?></td>
      <td><?php echo $Casa->getAlternos() ?></td>
      <td><?php echo $Casa->getObservaciones() ?></td>
      <td><?php echo $Casa->getColchonetas() ?></td>
      <td><?php echo $Casa->getAsignado() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('casas/new') ?>">New</a>
